using System;

namespace NParameterizedTest
{
    public class TestCaseAssertionException : TestCaseAssertionResult
    {       
        public TestCaseAssertionException(Exception exception, string errorMessage)
            : base(false)
        {
            Exception = Exception;
            ErrorMessage = errorMessage + ": " + exception.ToString();
        }

        public Exception Exception { get; }        
    }
}